<template>
    <div>
        <div class="DeskView">
            <div class="container">
        <div class="headbox">
            <div class="header">
                <div class="head">
                    <div class="text">
                      
                        <a href="">书桌
                            <p class="con"></p>
                        </a>
                        <a href="">书馆
                            <p></p>
                        </a>


                    </div>
                   
                    <a href=""><i></i></a>
                </div>
                

            </div>
        </div>

        <div class="readbox">
            <div  class="titlebox">
                <div class="text-left">
                    <a href=""><i></i></a>
                    <a href="">今日已读0分钟 <span>></span></a>

                </div>
                <div class="text-right">
                    <a href=""><i></i></a>
                    <a href="">沉浸模式</a>
                </div>
            </div>

            <div class="imgbox">
                <div class="img">
                    <img src="../assets/img/book_ic_empty.png" alt="">
                </div>
            </div>

            <p>书桌中没有书籍</p>
        </div>


        <div class="bookbox">
            <div class="titlebox">
                <p>热门精选</p>
                
            </div>

            <div class="newbook">

                <div class="book-box">
                    <div class="imgbox">
                        <div class="img">
                            <img src="../assets/img/书桌图书.png" alt="">
                        </div>
                        <span>晚秋</span>
                    </div>

                    <div class="imgbox">
                        <div class="img">
                            <img src="../assets/img/书桌图书.png" alt="">
                        </div>
                        <span>晚秋</span>
                    </div>

                    <div class="imgbox">
                        <div class="img">
                            <img src="../assets/img/书桌图书.png" alt="">
                        </div>
                        <span>晚秋</span>
                    </div>
                </div>

                <div class="book-box">
                    <div class="imgbox">
                        <div class="img">
                             <img src="../assets/img/书桌图书.png" alt="">
                        </div>
                        <span>晚秋</span>
                    </div>

                    <div class="imgbox">
                        <div class="img">
                             <img src="../assets/img/书桌图书.png" alt="">
                        </div>
                        <span>晚秋</span>
                    </div>

                    <div class="imgbox">
                        <div class="img">
                             <img src="../assets/img/书桌图书.png" alt="">
                        </div>
                        <span>晚秋</span>
                    </div>
                </div>

            </div>
        </div>


     
    </div>
        </div>
    </div>
</template>

<script>
    export default {
        
    }
</script>

<style lang="scss" scoped>

.DeskView{
    .headbox {
  position: fixed;
  top: 0px;
  left: 0px;
  width: 100%;
  z-index: 100;
  background-color: #fff;
  .header {
    padding-top: 24px;
    .head {
      display: flex;
      justify-content: space-around;
      .text {
        display: flex;
        margin-left: 112px;
        a {
          padding-left: 12px;
          color: #9ba6ba;
          font-size: 18px;
          &:nth-child(1) {
            color: #09172f;
            font-size: 20px;
            font-weight: bold;
          }
          p {
            &.con {
              width: 16px;
              height: 3px;
              background-color: #f5c264;
              margin-left: 9px;
              margin-top: 4px;
            }
          }
        }
      }
      .bon {
        padding-right: 10px;
      }
      & > a {
        padding-left: 50px;
        padding-top: 2px;
      }
      a {
        i {
          width: 20px;
          height: 20px;
          background: url(../assets/img/amount_ic_add.png) center center no-repeat;
          background-size: 100%;
          display: inline-block;
        }
      }
    }
  }
}
.readbox {
  margin: 0px 26px;
  margin-top: 76px;
  .titlebox {
    display: flex;
    justify-content: space-between;
    align-items: center;
    .text-left {
      a {
        color: #0c1a31;
        font-size: 18px;
        i {
          width: 10px;
          height: 12px;
          background: url(../assets/img/书馆图标.jpg) center center no-repeat;
          background-size: 100%;
          display: inline-block;
        }
      }
    }
    .text-right {
      a {
        color: #7a8391;
        i {
          width: 10px;
          height: 12px;
          background: url(../assets/img/书桌图标2_03.jpg) no-repeat;
          background-size: 100%;
          display: inline-block;
        }
      }
    }
  }
  .imgbox {
    display: flex;
    margin-top: 60px;
    justify-content: space-around;
    .img {
      width: 62px;
      height: 68px;
      img {
        width: 100%;
        height: 100%;
      }
    }
  }
  p {
    text-align: center;
    font-size: 16px;
    color: #9d9d9d;
    margin-top: 24px;
  }
}
.bookbox {
  padding: 30px 12px;
  padding-bottom: 0px;
  .titlebox {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    p {
      font-size: 20px;
      color: #000;
    }
    .abox {
      display: flex;
      align-items: center;
      a {
        padding-right: 2px;
        font-size: 14px;
        color: #cdd2dc;
        i {
          width: 12px;
          height: 12px;
          background: url(../assets/img/icon_common_more.png) center center no-repeat;
          background-size: 100%;
          display: inline-block;
          margin-top: 4px;
        }
      }
    }
  }
}
.newbook {
  padding: 0 18px;
  margin-top: 22px;
  .book-box {
    display: flex;
    justify-content: space-between;
  }
  .imgbox {
    height: 170px;
    width: 88px;
    .img {
      width: auto;
      height: 120px;
      padding-right: 4px;
      img {
        width: auto;
        height: 100%;
      }
    }
    span {
      padding-top: 4px;
      font-size: 13px;
    }
  }
}
/* 底部 */
.foot-box {
  width: 100%;
  position: fixed;
  bottom: -3px;
  background-color: #fff;
  padding-top: 4px;
  padding-bottom: 7px;
  box-shadow: 0px 3px 1px 0px rgba(0,0,0,0.21);
}
.container {
  .foot-box {
    .footbox {
      display: flex;
      justify-content: space-around;
      align-items: center;
    }
  }
  .footbox {
    .footer {
      display: flex;
      flex-direction: column;
      .img {
        width: 25px;
        height: 25px;
        img {
          width: 100%;
          height: 100%;
        }
      }
      a {
        font-size: 12px;
        color: #8a929e;
        &.bon {
          color: #478d6b;
        }
      }
      &:nth-child(3) {
        .img {
          width: 55px;
          height: 55px;
        }
      }
    }
  }
}

}
</style>